package com.ruoyi.system.service;

import com.ruoyi.system.domain.*;

import java.util.List;

public interface IFansInfoService {

    public List<FansInfo> selectChatList(FansInfo customerChat);

    public FansInfo selectChatByClientNumber(String clientNumber);

    public FansInfo selectChatById(String id);

    public int updateCustomerChat(FansInfo fansInfo);

    /**
     * 新增客服信息
     *
     * @param user 客服信息
     * @return 结果
     */
    public int insertUser(FansInfo user);


    /**
     * 批量删除用户信息
     *
     * @param clientNumber 需要删除的用户ID
     * @return 结果
     */
    public int deleteUserByNumbers(String[] clientNumber);

    /**
     * 群发
     * @param bulkMessage
     * @return
     */
    public int bulkMessage(BulkMessage bulkMessage);


    /**
     * 通过用户ID查询用户
     *
     * @return 用户对象信息
     */
    public String importUser(List<FansInfo> userList, Boolean isUpdateSupport, String operName);

//    public List<FansInfo> selectClientCount();

    public int updateCustomerByStatus(BulkSendName bulkSendName);

    public void pauseChat(String[] id,int statics);

    public List<ChatBoxInfo> getChatBoxList(String customerNumber);


    public void updateManualService(String fansId,String status);
}
